#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

/***** Additional Includes ****/
// C++
#include <iostream>
using namespace std;

// qt 5
#include <QCoreApplication>
#include <QDir>
#include <QString>
#include <QTextCodec>
#include <QDebug>
#include <QStandardPaths>
#include <QFileDialog>
#include <QMessageBox>
#include <QFont>
#include <QPainter>


// opencv 3
#include <opencv2/core.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace cv;

// freetype 2
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
#include FT_TYPES_H
#include FT_OUTLINE_H
#include FT_RENDER_H
#include FT_IMAGE_H
#include FT_BITMAP_H
/*********/

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
    QString fontFile;
    QString text;
    QString textFileName;
    QString SimpTextFileName;

public slots:
    bool QtSaveFontImage();



private:
    Ui::Widget *ui;
    int charSize;

private slots:

    bool GetText();

};

#endif // WIDGET_H
